import SvgIcon from '@/components/SvgIcon/index.vue'
import Page from '@/components/Page/index.vue'
const allGlobalComponent = { SvgIcon, Page }
export default {
    install(app) {
        // console.log('app', app)
        // app.component('SvgIcon', SvgIcon),
        //     app.component('Page', Page)
        Object.keys(allGlobalComponent).forEach((key) => {
            //循环注册
            app.component(key, allGlobalComponent[key])
        })
    },
}
